<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="java.util.List"%>
<%@page import="cn.company.bean.Sort"%>
<%@page import="cn.company.database.DBUtils"%>
<%@page import="cn.company.bean.ProduceService"%>
<%@page import="cn.company.bean.Scheme"%>
<%@page import="cn.company.bean.Advertising"%>
<%@page import="cn.company.bean.HoldClient"%><html>
<head>
<title>广州九玲珑信息科技有限公司,产品服务_人力资源_软件</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Keywords" content="广州九玲珑信息科技有限公司,九玲珑,jll,9linglong,jiulinglong,酒店人力资源,人力资源系统,酒店人事系统,人事系统,HR,HRMS,OA,办公自动化,协同办公,无纸化办公,网站建设,考勤,门禁" />
<meta name="Description" content="广州九玲珑（www.jllsoft.com）是一家开发人力系统、OA和办公自动化的软件开发公司，立足广州，服务全国。" />
<%
	String path = request.getContextPath();
	int id = Integer.parseInt(request.getParameter("id"));
	ProduceService product = DBUtils.getProduceServiceById(id);
	List<ProduceService> secondProducts = DBUtils.getProduceSecondServiceById(id);
	List<ProduceService> products = DBUtils.getProduceService();
	List<HoldClient> clients = DBUtils.getHoldClients();
%>
<script language="javascript" src="<%=path %>/Company/js/mouseover.js"></script>
<link href="<%=path %>/Company/css/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="ninemain">
	<c:import url="../nav.jsp"></c:import>
    <div class="Nav_muneG">
    	<div class="news_gongao"><a href="#"></a></div>
    </div>
    <div class="mainmaintxt">
    	<c:import url="product_left.jsp"></c:import>
        <div class="Productsright">
            <div class="Productsleft">
           		<div class="leftProducts"><img src="<%=path %>/Company/img/picimg.jpg" width="525" height="146" /></div>
                <div class="ProductsleftTop"><span><%= product.getTopic() %></span></div>
                <div class="Productsleftmain">
                	<%=product.getContent() %>
                </div>
                <div class="Productsleftbot"></div>
                
                <% if (secondProducts.size() > 0) { 
            %>
            	<div class="productsjieshaoGS">
					<div class="GS_top"><h3><%= product.getTopic() %></h3><span>介绍</span></div>
					<div class="GS_main nineDAapp">
						<ul>
							<% for (ProduceService service : secondProducts) { %>
							<li>
								<a href="product_detailed.jsp?id=<%= service.getId() %>"><img width="100" height="116" src="<%= path %>/<%= service.getImagepath() %>">
								<p><%= service.getTopic() %></p></a>
							</li>
							<% } %>
						</ul>
					</div>
					<div class="GS_bot"></div>
				</div>
            <% 
               } 
            %>
            </div>
            
            <div class="Products_right">
            	<div class="Products_CGALI">
                	<div class="ProductsRTOP">成功案例</div>
                    <div class="ProductsRMAIN">
                    	<ul class="anli">
                    		<%
                    			for(int m = 0;m < clients.size();m++){
                    		%>
                    				<li title="<%=clients.get(m).getName()%>">
                    				<%--=clients.get(m).getName() --%>
                    				<%
                    				   String str=clients.get(m).getName();
                    				   int length=clients.get(m).getName().length();
                    				   if(length>=12){
                    					   str=clients.get(m).getName().substring(0,12);
                    				   }
                    				%>
                    				<%=str%>
                    				</li>
                    		<%
                    				if(m == 6){
                    					break;
                    				}
                    			}
                    		%>
                        </ul>
                    </div>
                    <div class="ProductsRBOT"></div>
                </div>
                <div class="Products_CGALI rongyumarTop">
                    <div class="ProductsRTOP">获得荣誉</div>
                    <div class="ProductsRMAIN">
                        <ul class="rongyu">
                        	<%
                        		List<Advertising> advs = DBUtils.getAdvsByType("荣誉广告");
                        		for(int i = 0;i < advs.size();i++){
                        	%>
                        			 <li>
			                            <img src="<%=path %>/<%=advs.get(i).getImagepath() %>" width="120" height="90" />
			                            <p><%=advs.get(i).getAdvName() %></p>
		                             </li>
                        	<%		
                        		}
                        	%>
                        </ul>
                    </div>
                    <div class="ProductsRBOT"></div>
              </div>
            </div>
        </div>
    </div>
    <c:import url="../bottom.jsp"></c:import>
</div>
</body>
</html>